package com.yq.entity;

import com.baomidou.mybatisplus.activerecord.Model;

import java.io.Serializable;

public class CompanyName extends Model<CompanyName> {

    private static final long serialVersionUID = 1L;

    private String num;
    private String companyname;

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getCompanyname() {
        return companyname;
    }

    public void setCompanyname(String companyname) {
        this.companyname = companyname;
    }

    @Override
    public String toString() {
        return "CompanyName{" +
                "num='" + num + '\'' +
                ", companyname='" + companyname + '\'' +
                '}';
    }

    @Override
    protected Serializable pkVal() {
        return this.num;
    }
}
